import requests

url = 'http://192.168.196.128/apitest/multi-params/'
args = {'id': 1, 'username': 'admin'}
res = requests.get(url, args)
# res-requests.get(params=args,url=url)  #关键字参数
print(res.text)
